/**基础设置-收款方式API**/
import obj from '@/utils/request'
let {request,baseURL} = obj
//查询
export function getPackageInfo(params) {
  return request({
    url: '/packageStatus',
    method: 'get',
    params
  })
}
//修改
export function modPackageInfo(data) {
  return request({
    url: '/packageStatus',
    method: 'put',
    data
  })
}
//添加
export function addPackageInfo(data) {
  return request({
    url: '/packageStatus',
    method: 'post',
    data
  })
}
//删除
export function delPackageInfo(data) {
  return request({
    url: '/packageStatus',
    method: 'delete',
    data
  })
}

//禁用或者启
export function disableOrEnablePackageInfo(ids,params) {
  return request({
    url: '/packageStatus/disableOrEnable',
    method: 'put',
    data:ids,
    params
  })
}




